package com.kfyang.manualgear.dao;

import com.kfyang.manualgear.annotation.Dao;
import com.kfyang.manualgear.entity.LogicalDeleteEntity;

import java.util.List;

@Dao(entity = LogicalDeleteEntity.class)
public interface LogicalDeleteDao {
    LogicalDeleteEntity selectById(int id);

    List<LogicalDeleteEntity> selectAll();

    int update(LogicalDeleteEntity entity);

    int insert(LogicalDeleteEntity entity);

    int insertAll(List<LogicalDeleteEntity> entityList);

    int deleteById(int id);

    int deleteByIds(List<Integer> ids);
}
